load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "transform",
    srcs = [
        "event_info_transformer.go",
        "log_record_to_event.go",
        "transformer.go",
    ],
    importpath = "github.com/cockroachdb/cockroach/pkg/obsservice/obslib/transform",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/obsservice/obspb",
        "//pkg/obsservice/obspb/opentelemetry-proto/common/v1:common",
        "//pkg/obsservice/obspb/opentelemetry-proto/logs/v1:logs",
        "//pkg/obsservice/obspb/opentelemetry-proto/resource/v1:resource",
        "//pkg/util/timeutil",
    ],
)
